import request from '@/utils/requestByForm'

// 新增宝贝规格
export function add(data) {
  return request({
    url: 'api/add-specifications',
    method: 'post',
    data
  })
}

export function del(specs_id) {
  return request({
    url: 'api/del-specifications/' + specs_id,
    method: 'get'
  })
}

export function edit(data) {
  return request({
    url: 'api/edit-specifications',
    method: 'post',
    data
  })
}
